package One_11_Exception;

public class demo03 {
    public void method03Class(){
        int a = 1;
        int b = 0;

        if (b==0){
            throw new ArithmeticException();// 主动抛出异常
        }
    }
}
